import axios from 'axios'

const init = axios.create({
    baseURL: `http://${process.env.HOST || 'localhost'}:${process.env.PORT || 8082}`,
    timeout: 10000,
    headers: {}
})

init.all = axios.all

export default init